<template>
  <div class="searchpage">
    <Popup :popupVisible="true" :back="back">
      <mt-search v-model="value" placeholder="请输入房源信息" style="height: 100%">
      </mt-search>

      <div class="search-tips">
        <h3>热门搜索</h3>
        <div class="search-tag">
          <span>朝天门</span><span>南天门</span><span>金拱门</span>
        </div>
      </div>

      <div class="search-tips">
        <h3>搜索历史</h3>
        <div class="search-tag"><span>朝天门</span></div>
      </div>
    </Popup>
  </div>
</template>
<script>
import Popup from "../components/Popup.vue";
import Search from "../components/Search.vue";
export default {
  components: {
    Popup,
    Search,
  },
  data() {
    return {
      back: "home",
      value: "",
    };
  },
  methods: {},
};
</script>
<style>
/* 搜索栏 */
.searchpage .mint-searchbar {
    padding: 0;
    background-color: #007d65;
}
/* 头部 */
.searchpage .mint-header {
  background-color: #007d65;
}
/* 搜索框 */
.searchpage .mint-searchbar {
  width: 80%;
  margin: auto;
  height: 2.5rem;
  top: 0px;
  z-index: 99999;
}
/* 搜索提示 */
.searchpage .search-tips {
  margin: 0 0.5rem;
}
.searchpage .search-tips h3 {
  margin: 1rem 0;
}
.searchpage .search-tips .search-tag {
  display: flex;
  /* outline: solid 1px; */
}
.searchpage .search-tips .search-tag span {
  background-color: #007d65;
  border-radius: 5px;
  /* font-size: 0.5rem; */
  display: inline-block;
  padding: 0.2rem;
  color: rgb(243, 240, 240);
  margin: 0 0.2rem;
}
</style>
